<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a >魔法召唤价格列表</a></li>
		</ul>
        <form method="post" class="js-ajax-form" action="{:url('magiccon/listOrder')}">
			<!--<div class="table-actions">
                <button class="btn btn-primary btn-sm js-ajax-submit" type="submit">{:lang('SORT')}</button>
            </div>-->
			<table class="table table-hover table-bordered">
				<thead>
					<tr>
						<!--<th>排序</th>-->
						<th>ID</th>
						<th>类型</th>
						<th>次数</th>
						<th>价格(魔法券)</th>
						<th>价格(钻石)</th>
						<th>{:lang('ACTIONS')}</th>
					</tr>
				</thead>
				<tbody>
					<foreach name="lists" item="vo">
					<tr>
                        <!--<td><input name="list_orders[{$vo.id}]" class="input-order" type="text" value="{$vo.list_order}"></td>-->
						<td>{$vo.id}</td>
						<td>{$types[$vo['itype']]??'-'}</td>
						<td>{$vo['times']}</td>
						<td>{$vo['coupon']}</td>
						<td>{$vo['coin']}</td>
						<td>
                            <a class="btn btn-xs btn-primary" href='{:url("magiccon/edit",array("id"=>$vo["id"]))}'>{:lang('EDIT')}</a>
							<!-- <a class="btn btn-xs btn-danger js-ajax-delete" href="{:url('magiccon/del',array('id'=>$vo['id']))}">{:lang('DELETE')}</a> -->
						</td>
					</tr>
					</foreach>
				</tbody>
			</table>
			<div class="pagination">{$page}</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>